<template>
  <div class="container">
    <h2>组件的样式问题</h2>
    <p>这是App中的p标签</p>
    <p class=""></p>
    <my-left></my-left>
  </div>
</template>

<script>
import MyLeft from './components/MyLeft.vue'
export default {
 components:{MyLeft}
}
</script>

<style lang="less" scoped>
  .container{
    background-color: pink;
    h2{
      font-size: 34px;
    }
    
  }
  p{
      color: red;
    }
    .container /deep/ .chp {
      background-color: orange;
    }
</style>